import request from '@/utils/request'

// 查询首信易职业列表
export function listPayEaseCareer(query) {
  return request({
    url: '/ecs/payEaseCareer/list',
    method: 'get',
    params: query
  })
}

// 查询首信易职业详细
export function getPayEaseCareer(id) {
  return request({
    url: '/ecs/payEaseCareer/' + id,
    method: 'get'
  })
}

// 新增首信易职业
export function addPayEaseCareer(data) {
  return request({
    url: '/ecs/payEaseCareer',
    method: 'post',
    data: data
  })
}

// 修改首信易职业
export function updatePayEaseCareer(data) {
  return request({
    url: '/ecs/payEaseCareer',
    method: 'put',
    data: data
  })
}

// 删除首信易职业
export function delPayEaseCareer(id) {
  return request({
    url: '/ecs/payEaseCareer/' + id,
    method: 'delete'
  })
}
